Problem in "start" command !!
hi all ,
i have problem with start command in windows ,
when i type "start calc" to the command line directly , it is work !
when i put it in batch file does not work ?!!
to be more clear,
my problem is when i want to run java Application remotely ( on windows server 2003 ) ,
CODE ::
Set cloner = CreateObject("WScript.Shell")
cloner.run"cmd"
WScript.Sleep 500
cloner.SendKeys"telnet 00.00.00.00" // = zeros is IP of remote machine
cloner.SendKeys("{Enter}")
WScript.Sleep 500
cloner.SendKeys"start JavaApp"
cloner.SendKeys("{Enter}")
WScript.Sleep 500
cloner.SendKeys"exit"
cloner.SendKeys("{Enter}")
WScript.Sleep 300
cloner.SendKeys"exit"
cloner.SendKeys("{Enter}")
WScript.Sleep 300
November 28th, 2011 7:27am
I'd ask them here.
http://social.technet.microsoft.com/Forums/en-US/ITCG/threads
Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows]
Free Windows Admin Tool Kit Click here and download it now
November 28th, 2011 10:07am